<div style="width: 5px;">
  <img id="makeTaller" style="height: 50px; width: 1px"><img id="removeThis" style="width: 5px; height: 5px;"> <div style="float: left;">foo</div>Pass if no assert in debug.</div>
<script>
if (window.testRunner)
    testRunner.dumpAsText();
var removeThis = document.getElementById("removeThis");
removeThis.offsetTop;
removeThis.parentNode.removeChild(removeThis); 
;
makeTaller.style.height = '55px';
</script>
